"use strict";
const way = require("./utils/way");
const HomeCtl = require("./controller/home");

/**
 * 类型列表
 */
exports.findKindList = async (context) => {
  return await way.execute(HomeCtl, "findKindList", context);
};

/**
 * 材质列表
 */
exports.findMaterialList = async (context) => {
  return await way.execute(HomeCtl, "findMaterialList", context);
};

/**
 * 配件列表
 */
exports.findPartslList = async (context) => {
  return await way.execute(HomeCtl, "findPartslList", context);
};

/**
 * 保存订单
 */
exports.saveOrder = async (context) => {
  return await way.execute(HomeCtl, "saveOrder", context);
};